<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>游戏模板列表</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('Template/index')}">
        标题：
        <input class="form-control" type="text" name="title" style="width: 200px;" value="{:input('request.title')}"
               placeholder="请输入标题">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('Template/index')}">清空</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>标题</th>
                <th>模板</th>
                <th>使用量</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.title}</td>
                    <td><img width="50" height="" src="{:lang('GAME_ORDER_TEMPLATE_URL')}{$vo.background}"/></td>
                    <td>{$vo.usenum}</td>
                    <td>操作</td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>